package OOPS;

class Hello9 {
	int mn;
	static String str = "STR STRING";

	Hello9(int mn) {
		this.mn = mn;
	}

	void show() {
		System.out.println("*** show outer ***");
		System.out.println("mn\t:" + mn);
		System.out.println("mn\t" + mn);
		Abc ab = new Abc(84);
		ab.showInInner();
	}

	static void display() {
		// Abc ab=new Abc(14);
	}

	class Abc {
		int xy;

		// static long ph=56;
		Abc(int xy) {
			this.xy = xy;
		}

		void showInInner() {
			System.out.println("** SHOW ININNER **");
			System.out.println("mn\t:" + mn);
			System.out.println("str\t:" + str);
			System.out.println("xy\t:" + xy);
		}
	}
}

class Test50 {
	public static void main(String str[]) {
		Hello9 h = new Hello9(12456);
		// static int i=1;
		h.show();
		// Abc ab=null;
		Hello9.Abc obj = null;
		// obj=new Abc(74);
		// obj=new Hello9.Abc(84);
		obj = new Hello9(123).new Abc(78);
		obj.showInInner();
		obj = h.new Abc(789);
		obj.showInInner();
	}
}